package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.DetailsExchange;

import java.util.List;

/**
 * <p>
 * 交易明细类型配置的DAO类
 * </p>
 * @author yusys
 * @createDate 2018-07-09 15:29:26
 */
public interface DetailsExchangeDao {
    
    /**
     * 插入交易明细类型配置记录
     * @param detailsExchange
     * @return
     */
    public int insertDetailsExchange(DetailsExchange detailsExchange);
    
    /**
     * 根据主键删除交易明细类型配置记录
     * @param detailsExchange
     * @return
     */
    public int deleteByPk(DetailsExchange detailsExchange);
    
    /**
     * 根据主键更新交易明细类型配置记录
     * @param detailsExchange
     * @return
     */
    public int updateByPk(DetailsExchange detailsExchange);
    
    /**
     * 查询交易明细类型配置记录
     * @param detailsExchange
     * @return
     */
    public DetailsExchange queryByPk(DetailsExchange detailsExchange);
    
    /**
     * 查询所以交易明细类型配置记录
     * @param detailsExchange
     * @return
     */
    public List<DetailsExchange> queryAllInfo();
    
    
}